﻿namespace Bzstd.Utility.Assertion;

/// <summary>
/// 字符串断言类
/// </summary>
public static partial class Assert
{
	/// <summary>
	/// 字符串非空断言
	/// </summary>
	/// <returns></returns>
	public static string NotBlank(string str, string message)
	{
		IsFalse(string.IsNullOrWhiteSpace(str), message);
		return str;
	}
}
